package com.flatfish.acvsystem.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Table;

@Entity
@Table(name = "acv_standard_apk")
public class ACVStandardApkEntity {
	
	@javax.persistence.Id
	@javax.persistence.Column(name = "id", unique = true)
	@javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	@Column(name = "package_id")
	private String packageId;
	
	@Column(name = "version")
	private String version;
	
	@Column(name = "hash")
	private String hash;

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the packageId
	 */
	public String getPackageId() {
		return packageId;
	}

	/**
	 * @param packageId the packageId to set
	 */
	public void setPackageId(String packageId) {
		this.packageId = packageId;
	}

	/**
	 * @return the version
	 */
	public String getVersion() {
		return version;
	}

	/**
	 * @param version the version to set
	 */
	public void setVersion(String version) {
		this.version = version;
	}

	/**
	 * @return the hash
	 */
	public String getHash() {
		return hash;
	}

	/**
	 * @param hash the hash to set
	 */
	public void setHash(String hash) {
		this.hash = hash;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ACVStandardApkEntity [id=" + id + ", packageId=" + packageId
				+ ", version=" + version + ", hash=" + hash + "]";
	}
	
}
